﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WisPortal.Model.Flow
{

    public enum TaskMode { 
        SingleDo = 1,
        OrderDo = 2
    }
    public enum BackMode { 
        Mode1 =1
    }
    public class Task
    {
        public int ID { get; set; }
        public string Name { get; set; }
        public ICollection<Link> Links { get; set; }
        public TaskMode TaskMode { get; set; }
        public bool CanRedirect { get; set; }
        public bool CanBack { get; set; }
        public bool JumpWhenNoUser { get; set; }
        public bool JumpWhenSameUser { get; set; }
        public int LimitDaySpan { get; set; }
        public BackMode BackMode { get; set; }

        public Task() {
            Links = new List<Link>();
        }
    }
}
